home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / cache.zip / ICE.ASM < prev   
Assembly Source File  |  1991-10-05  |  408b  |  18 lines

  1. .MODEL small
  2. .STACK 100h
  3. P486
  4. .DATA
  5. Message DB 'Enabling Internal Cache', 13,10,'$'
  6. .CODE
  7. mov ax, @data
  8. mov ds,ax        ;set DS to point to the data segment
  9. mov ah, 9        ;DOS print string function
  10. mov dx,OFFSET Message
  11. int 21h        
  12. mov EAX, CR0
  13. and EAX,09FFFFFFFh    ;Clear cache Disable Cache bits CD and NW
  14. mov CR0, EAX 
  15. mov ah,4ch        ;DOS terminate program function
  16. int 21h            ;terminate the program
  17. END
  18.